home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Scheduling / Cassandra / Source / Notepad.h < prev    next >
Encoding:
Text File  |  1990-10-27  |  731 b   |  32 lines

  1. //
  2. // Notepad.h
  3. // Copyright (c) 1990 by Jiro Nakamura 
  4. // All rights reserved
  5. //
  6. // Handles a notepad, opens it, lets the user modify it,
  7. //  and if anything changes, lets him or her save it before
  8. // closing it.
  9. //
  10. // RCS Information
  11. // Revision Number->    $Revision: 2.4 $
  12. // Last Revised->    $Date: 90/10/27 17:53:18 $
  13. //
  14.  
  15. #import "TextWindow.h"
  16.  
  17. @interface Notepad:TextWindow
  18. {
  19.     int pageNumber;            // Our pleasant page number
  20.     id global;            // Set by IB
  21.     id filenameTextField;
  22.     id pageNumberForm;
  23. }
  24.  
  25. - open:sender;                // Open notepad
  26. - close;                // Close (and save) notepad
  27.  
  28. - pageBackward: sender;            // Go backwards one page
  29. - pageForward: sender;            // Go forward one page
  30. - pageFormModified: sender;        // Read particular page
  31. @end
  32.